//
//  BookRack.h
//  奇阅
//
//  Created by 奇阅科技 on 14-10-21.
//  Copyright (c) 2014年 奇阅科技. All rights reserved.
//

#import <Foundation/Foundation.h>
//书架Model
@class Book;
@interface BookRack : NSObject
@property (nonatomic, strong) NSString *uid;            //用户的ID
///作品的ID
@property (nonatomic, strong) NSString *articleid;
@property (nonatomic, strong) Book *book;
@property (nonatomic, assign) NSInteger sortid;         //顺序的ID
@property (nonatomic, strong) NSString *wordtotal;      //数据库字数统计 1387680
@property (nonatomic, strong) NSString *source;         //作品来源
@property (nonatomic, assign) BOOL isSelect;            //是否选中
@property (nonatomic, assign) BOOL isUpdate;            //是否同步过
+(BookRack *)getFromDict:(NSDictionary *)dict;
///从推荐书接口获取图书
+(BookRack *)getFromRecommendDict:(NSDictionary *)dict;
///更新 数据
-(void)upDateNew:(BookRack *)newBook;
@end
